Skip to content

Pin files so they stay when the ledge is cleared - #2

Merged
andreas-bylund merged 1 commit into
mainfrom
pin-files
Sep 8, 2026
Merged

andreas-bylund merged 1 commit into
mainfrom
pin-files

Conversation

@andreas-bylund

Copy link
Copy Markdown
Owner

Fixes #1.

Hover a chip and pin it. Pinned files sit at the top, survive a shell restart, and are left behind when you clear the ledge. Unpin them (or remove that chip) and they go back to being ordinary files.

omarchy-ledge pin ~/file adds the file if it is not already on the ledge, which is the CLI path for the files you keep putting back.

Clear is the action that respects the pin. Removing one chip, or a selection, still takes it — that is a choice about that file, not a sweep of the whole ledge.

How to try it

omarchy plugin update bylund.ledge
omarchy restart shell

Then hover a file, click the pin, and clear. The pinned chips should stay.

Some files get re-added to the ledge over and over. Pinning keeps them
across clear, and they sit at the top until they are unpinned. Individual
remove still takes a pinned chip — clear is the action that leaves them.

The pin is stored with the rest of the ledge state, so it survives a
shell restart. `omarchy-ledge pin` adds the file if needed, which is the
CLI path for the same habit.

Closes #1
@andreas-bylund

Copy link
Copy Markdown
Owner Author
screenrecording-2026-09-08_16-22-09.mp4

Demo

@andreas-bylund
andreas-bylund merged commit 987ccf3 into main Sep 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New feature #1 - Pinning files

1 participant